

<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
    include 'PHPClasses/DBAccess.php';
    include 'PHPClasses/Teacher.php';
    include 'PHPClasses/TeacherDBAccess.php';
    error_reporting(E_ERROR | E_PARSE);
    $DBAccess=new TeacherDBAccess();
    
    $DBAccess->delete($_POST['teacherID']);
   
   
    $DBAccess->DBDisconnect();
   
   
   
    header("Location: http://localhost/paragox-infinity-introse/viewTeachers.php");
  
   
    
    
?>
                         
       